package com.stud.common.enums;

/**
 * @author Stud
 * @title 周期枚举
 * @desription XXXXX
 * @data 2022-11-16 17:30
 */
public enum CycleEnum {
    HOUR24(24, "24小时"),
    HOUR48(48, "48小时"),
    HOUR72(72, "72小时"),
    DAY7(7, "7天"),
    DAY15(15, "15天"),
    DAY30(30, "30天"),
    YESTERDAY(0, "昨天"),
    DAY(0, "今天"),
    WEEK(0, "本周"),
    MONTH(0, "本月"),
    QUARTER(0, "本季"),
    YEAR(0, "本年"),
    ;

    private final int num;
    private final String name;

    CycleEnum(int num, String name) {
        this.num = num;
        this.name = name;
    }
}

